package com.songlanyun.modules.ship.model.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 订单包裹的明细
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-11-19 13:49:33
 */
@Data
public class OrderPackageItemVo implements ValueObject {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@TableId
	private Long id;
	/**
	 * 包裹id
	 */
	private Long goodsPackageId;
	/**
	 * 订单id
	 */
	private Long orderId;
	/**
	 * 主订单id
	 */
	private Long childOrderId;
	/**
	 * 商品id
	 */
	private Long goodsId;
	/**
	 * 商品标题
	 */
	private String goodsTitle;
	/**
	 * 商品封面图片
	 */
	private String goodsImg;
	/**
	 * sku的文本
	 */
	private String skuSetName;
	/**
	 * 商品数量
	 */
	private Integer number;

	private Integer buyNumber;

	/**
	 * 销售价格
	 */
	private BigDecimal salePrice;
}
